package com.entity;

import com.baomidou.mybatisplus.annotation.TableName;

@TableName("prescription")
public class Prescription {  
    private int prescriptionId;  
    private int visitId;  
    private String diagnosisName;  
  
    // 构造方法  
    public Prescription(int prescriptionId, int visitId, String diagnosisName) {  
        this.prescriptionId = prescriptionId;  
        this.visitId = visitId;  
        this.diagnosisName = diagnosisName;  
    }  
  
    // Getter和Setter方法  
    public int getPrescriptionId() {  
        return prescriptionId;  
    }  
  
    public void setPrescriptionId(int prescriptionId) {  
        this.prescriptionId = prescriptionId;  
    }  
  
    public int getVisitId() {  
        return visitId;  
    }  
  
    public void setVisitId(int visitId) {  
        this.visitId = visitId;  
    }  
  
    public String getDiagnosisName() {  
        return diagnosisName;  
    }  
  
    public void setDiagnosisName(String diagnosisName) {  
        this.diagnosisName = diagnosisName;  
    }  
}